package com.adulcimer.models.dto.user;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

/**
 * @author Simon
 * @create 2025/8/5
 * @Description
 **/
@Data
public class UserAddDto{
    @Schema(description = "用户账号")
    @NotNull(message = "用户账号不能为空")
    private String account;

    @Schema(description = "用户密码")
    @NotNull(message = "用户密码不能为空")
    private String password;

    @Schema(description = "邮箱")
    @NotNull(message = "邮箱不能为空")
    private String email;

    @Schema(description = "系统角色")
    @NotNull(message = "系统角色不能为空")
    private String sysRole;

    @Schema(description = "姓名")
    @NotNull(message = "姓名不能为空")
    private String name;

    @Schema(description = "手机号码")
    @NotNull(message = "手机号码不能为空")
    private Long phone;

    @Schema(description = "角色列表")
    private List<Long> roleIds;
}
